cmake_minimum_required(VERSION 3.7)
project(energy_finder)

set(CMAKE_CXX_STANDARD 11)
set(OPENCV_DIR /home/luzhan/软件/opencv-3.4.3)

find_package(OpenCV 3.4.3 REQUIRED)
# 添加源程序
add_executable(energy_finder
		       src/main.cpp
		       src/timer.cpp
			   src/energy.cpp
		       src/targetprediction.cpp)
# 添加头文件
include_directories(${OpenCV_INCLUDE_DIRS} ./include)
include_directories(include)

target_link_libraries(energy_finder ${OpenCV_LIBS})
